package com.bdqn.BookManage.biz.impl;

import com.bdqn.BookManage.biz.OrderGoodsBiz;
import com.bdqn.BookManage.dao.OrderGoodsDao;
import com.bdqn.BookManage.dao.impl.OrderGoodsDaoImpl;
import com.bdqn.BookManage.po.OrderGoods;

/**
 * @author : CP
 * @version: 1.0
 * @program : BookManage
 * @description : 订单与商品信息关联信息接口实现类
 * @date : 2020-07-31 14:57
 **/
public class OrderGoodsBizImpl implements OrderGoodsBiz {
    OrderGoodsDao orderGoodsDao = new OrderGoodsDaoImpl();

    @Override
    public boolean add(OrderGoods orderGoods) {
        return orderGoodsDao.add(orderGoods);
    }

    @Override
    public OrderGoods queryByIo(String id) {
        return orderGoodsDao.queryByIo(id);
    }
}
